import request from '@/utils/request';
// export async function query() {
//   return request('/api/users');
// }
export async function queryCurrent() {
  return request('/api/v1/authority/getCurrentUser');
}
// export async function queryCurrent() {
//   return request('/api/currentUser');
// }
export async function queryNotices() {
  return request('/api/notices');
}

export async function resetPassword(params) {
  return request('api/v1/employees/modifyPassword', {
    method: 'POST',
    body: {
      ...params
    },
  });
}
